package com.example.benefitcommunity.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.util.Date;
import java.io.Serializable;

/**
 * 通知公告表(BcNotificationAnnouncement)实体类
 *
 * @author makejava
 * @since 2025-08-20 16:11:32
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("bc_notification_announcement")
public class BcNotificationAnnouncement implements Serializable {
    @Serial
    private static final long serialVersionUID = 912047311428468921L;
    /**
     * 通知公告id
     */
    private Integer id;
    /**
     * 图片
     */
    private String picture;
    /**
     * 类型
     */
    private String type;
    /**
     * 来源
     */
    private String source;
    /**
     * 标题
     */
    private String title;
    /**
     * 描述
     */
    private String description;
    /**
     * 社区id
     */
    private Integer communityid;
    /**
     * 用户id
     */
    private Integer userid;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createtime;

    /**
     * 是否收藏：0:否，1:是
     */
    private Integer iscollect;
    /**
     * 阅读数
     */
    private Integer readcount;

    /**
     * 读者
     */
    private Object reader;

}

